/**
 * Created by hjx on 2017/7/30.
 */
/*检查指定的用户拥有的文件*/
ownsDocument = function(userId, doc) {
    return doc && doc.userId === userId;
}